package org.yunmai.service;

import org.yunmai.dto.LoginDto;
import org.yunmai.dto.MemberDto;
import org.yunmai.util.R;
import org.yunmai.vo.LoginVo;
import org.yunmai.vo.MemberVo;

import java.util.List;

/**
 * @Author 李孝辉
 * @Date 2025/6/16 10:27
 * @email 1626285873@qq.com
 * @Phone 18724505266
 * @内容
 */

public interface MemberService  {
    R<LoginVo> login(LoginDto loginDto);
    MemberVo info(String token);
    List<MemberVo> getAllMember();
    int addMember(MemberDto memberVo);
    int updateMember(MemberDto memberDto);
    int deleteMember(Long id);
    R<Integer> TimeIntegral(int time, Long id);
    R<List<Integer>> answerPoints(int topic, int userId);
    void SetThreshold ( String query);
}
